import React,{useState} from 'react';

export const Force: React.FC<any> = () => {
    // 模拟强制刷新页面；
    const [,setForce] = useState({});
    const upData = ()=>{
        setForce({});
    }
    return(
        <>
            <h1>时间：{Date.now()}</h1>
            <button onClick={upData}>变化</button>
        </>
    )
}